package com.melon.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import javax.validation.constraints.Size;
import java.util.List;

@Component
@ConfigurationProperties(prefix = "config.melon")
@Data
public class AppConfig {

    private String salt;
    /**
     * redis中存储的时间
     */
    private Long goneTime;
}
